public class UserManager {
    UserDataProvider userDataProvider;
//    MySQLDBProvider mySQLDBProvider =new MySQLDBProvider();
//MongoDBProvider mongoDBProvider =new MongoDBProvider();
    public UserManager(UserDataProvider userDataProvider){
        this.userDataProvider=userDataProvider;
    }
    public String getUserInfo(){
//        return mySQLDBProvider.getUserDetails();
//        return mongoDBProvider.getUserDetails();
        return userDataProvider.getUserDetails();
    }
}
